Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications
Building a customized executable in Windows
This section contains instructions for building 4GL client or AppServer executables running in Windows to access custom C functions. The script is located in the
oebuild/makedirectory under the root of your OpenEdge installation.
![]()
To build a Windows 4GL client executable:
- Log in as Administrator and run the Proenv utility (Start
Programs
OpenEdge
Proenv) on a system where OpenEdge is installed. This sets the DLC variable.
- Change directory to the OpenEdge
makedirectory. For example:
- Set up the Microsoft Visual C++ environment by running
vcvars32.bat. For example:
- Make a backup copy of the original OEBuild link options script and the 4GL tie-in object used to access custom C functions,
hlprodsp.o. There are three versions of the OEBuild link options script, depending on the 4GL client executable you plan to build:- Edit the C source file for the 4GL tie-in object in order to tie in your C functions to the 4GL as explained in the source file comments. This file is located at the following path:
- Compile the new tie-in object. For example:
- Edit the link options script for your executable (
build_prow32.link,build__prchar.link, orbuild__proapsv.link) to add customized objects and any necessary libraries to accommodate them on the link line. Save the file.- Run the
linkcommand to create a customized 4GL client dynamic link library (DLL). For example, to create a customized GUI 4GL client DLL:
- Back up the original 4GL client DLL. For example:
- Copy the customized 4GL client DLL into the installed
bindirectory. For example:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |